﻿/******************************************************************
** 文 件 名: BD_Payment.cs
** Copyright (c) 2010-2012 Honestysoft (GuangZhou) Co.,LTD
** 创 建 人: 此代码由生成器自动生成
** 创建日期: 2012-3-15 19:35:24
** 描    述: 支付单的实体类
** 版    本: 2.0.0.0
** 修改描述:
** 修 改 人:
** 修改日期:
******************************************************************/
using System;
using System.Data;
using Honestysoft.BaseObject;

namespace Honestysoft.Financing.Model
{
	[Serializable]
	[Table("BD_Payment","ID")]
	public partial class BD_Payment : IEntity
    {			
		/// <summary>
        /// 标识
        /// </summary>
		[Column("ID", DbType.AnsiString, 36, false)]
		public string ID
		{
			get;
			set;
		}
		/// <summary>
        /// 合同标识
        /// </summary>
		[Column("ContractID", DbType.AnsiString, 36, false)]
		public string ContractID
		{
			get;
			set;
		}
		/// <summary>
        /// 支付单号
        /// </summary>
		[Column("PaymentCode", DbType.AnsiString, 200, false)]
		public string PaymentCode
		{
			get;
			set;
		}
		/// <summary>
        /// 本期实际支付
        /// </summary>
		[Column("Amount", DbType.Decimal, 13, false)]
		public decimal Amount
		{
			get;
			set;
		}
		/// <summary>
        /// 支付日期
        /// </summary>
		[Column("PaymentDate", DbType.DateTime, 8, true)]
		public DateTime? PaymentDate
		{
			get;
			set;
		}
		/// <summary>
        /// 至本期累计支付
        /// </summary>
		[Column("TotalAmount", DbType.Decimal, 13, false)]
		public decimal TotalAmount
		{
			get;
			set;
		}
		/// <summary>
        /// 本期合同金额
        /// </summary>
		[Column("ContractAmount", DbType.Decimal, 13, false)]
		public decimal ContractAmount
		{
			get;
			set;
		}
		/// <summary>
        /// 累计支付百分比
        /// </summary>
		[Column("TotalPercent", DbType.Decimal, 9, false)]
		public decimal TotalPercent
		{
			get;
			set;
		}
		/// <summary>
        /// 费用类别
        /// </summary>
		[Column("PaymentType", DbType.AnsiString, 8, true)]
		public string PaymentType
		{
			get;
			set;
		}
		/// <summary>
        /// 支付来源
        /// </summary>
		[Column("PaymentSource", DbType.AnsiString, 8, true)]
		public string PaymentSource
		{
			get;
			set;
		}
		/// <summary>
        /// 备注
        /// </summary>
		[Column("Remark", DbType.AnsiString, 16, true)]
		public string Remark
		{
			get;
			set;
		}
		/// <summary>
        /// 业务状态
        /// </summary>
		[Column("PaymentBuState", DbType.AnsiString, 6, false)]
		public string PaymentBuState
		{
			get;
			set;
		}
		/// <summary>
        /// 创建人
        /// </summary>
		[Column("Creator", DbType.AnsiString, 36, false)]
		public string Creator
		{
			get;
			set;
		}
		/// <summary>
        /// 创建日期
        /// </summary>
		[Column("CreateTime", DbType.DateTime, 8, false)]
		public DateTime CreateTime
		{
			get;
			set;
		}
    }
}	
